import random

#i = 1
#while i <= 1000:
   # random.randint(1,100)
a = [random.randint(0 ,100) for x in range(1000)]
b = set(a)
for y in b:
    print(y,':',a.count(y))
